<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>联币ICO</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" href="__ROOT__/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__ROOT__/css/bootstrap-theme.css">
    <link rel="stylesheet" type="text/css" href="__ROOT__/css/common.css">

</head>
<body>
<div class="wrap wrap-info container-fluid">
    <div class="header">
        <div class="container-fluid">
            <img class="wrap-logo col-sm-4 col-xs-8 col-md-2" src="/image/logo_lianbi.png" alt="">
            <div class="row col-xs-12 col-md-3 info-left">
                <h3>用户：{$user->username} <a href="/index/index/logout">退出</a></h3>
                <div class="row col-xs-12 ">
                    <p class="col-xs-12 ">可用：BTC:{$user->btc_num}</p>
                    <p class="col-xs-12 ">冻结：BTC:{$user->btcd_num}</p>
                    <p class="col-xs-12 ">可用：LBC:{$user->lbc_num}</p>
                </div>
            </div>
            <div class=" row col-xs-12 col-md-6 confirme col-md-offset-1">
                <p class="col-xs-12 col-md-6">项目</p>
                <p class="col-xs-12 col-md-6" style="color: #f0ad4e;">ICO一轮正式开启</p>
                <p class="col-xs-12 col-md-6">联币ICO</p>
                <p class="col-xs-12 col-md-6 goal">700BTC</p>
                <div class="progress ">
                    <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar"
                         aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: {$totalBtc}%;">
                        {:round($totalBtc,2)}%
                    </div>
                </div>
                <p class="col-xs-12">
                    <a href="/index/index/support" title="" target="_blank" id="support" class="col-xs-4 col-md-2">支持</a>
                  <span class="load">
                      <a href="http://bitpie.com/android/" target="_blank" title="" class="andriod"></a> 
                      <a href="http://bitpie.com/ios/" title="" target="_blank" class="ios"></a>
                  </span>
                    <a href="/index/index/information" title="" class="col-xs-4 col-md-3">使用方法</a>
                </p>
            </div>
        </div>
    </div>
    <div class="container">
        <div class="row list">
            <a class="col-xs-12 col-md-6 animated col-md-offset-3 " class="row" href="/index/index/recharge">充币</a>
            <a class="col-xs-12 col-md-6 animated col-md-offset-3" href="/index/index/order" title="">ICO订单</a>
            <a class="col-xs-12 col-md-6 animated col-md-offset-3" href="/index/index/supportOrder" title="">支持订单</a>
            <!--<a class="col-xs-12 animated" href="" title="">绑定</a>-->
        </div>
    </div>
</div>
<script type="text/javascript" src='__ROOT__/js/jquery.js'></script>
<script type="text/javascript" src='/layer/layer.js'></script>
<script type="text/javascript">

    $('.list a').hover(function () {
        $(this).addClass('bounce')
    }, function () {
        $(this).removeClass('bounce')
    })

    //检测是否众筹已完成
    $('#support').click(function(){
        var totalBtc = "{$totalBtc}";
        if(totalBtc==100){
            layer.msg('该众筹已结束！',{icon:2,time:1000});
            return false;
        }
    })

</script>
</body>
</html>